x86/PVH: properly disable vLAPIC
authorJan Beulich <jbeulich@suse.com>
Thu, 27 Nov 2014 13:03:23 +0000 (14:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 27 Nov 2014 13:03:23 +0000 (14:03 +0100)
commit712a8222302c6bd5221c2fbd03aedac18e4422ca
tree398772cd37472c6ee609c612a68d5efba789954d
parent6d35f0f0cf072fe6313e6cc90ad5ed314a05e0c4
x86/PVH: properly disable vLAPIC

Rather than guarding higher level operations (like vPMU initialization
as suggested by Boris in
http://lists.xenproject.org/archives/html/xen-devel/2014-11/msg02278.html)
mark the vLAPIC hardware disabled for PVH guests and prevent it from
getting moved out of this state.

Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vlapic.c